package com.Web.Web.domain;

import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<user, Long> {

    user findByUserName(String userName);

    user findByUserNameOrEmail(String username, String email);

}